ElasticPress\Feature\Search\Synonyms A

Total Complexity 75
Dependencies 7
Dependents 1
Total lines 796
Lines of code 430
Logical lines of code 170
Comment lines 256
Methods 34
Properties 3

Methods 34

Method Rating Maintainability Complexity Lines of code
add_search_synonyms()
A
50 8 29
handle_update_synonyms()
A
47 7 36
admin_notices()
S
50 7 29
get_localized_data()
S
50 3 33
get_synonym_post_id()
S
56 4 18
validate_synonym()
S
62 4 12
update_synonyms()
S
52 3 25
scripts()
S
51 2 29
save_editor_mode()
S
63 3 10
synonyms_editor_mode()
S
65 3 8
update_synonym_post()
S
61 2 14
setup()
S
59 2 13
get_affected_indices()
S
62 2 12
get_localized_strings()
S
50 1 27
register_post_type()
S
58 1 16
example_synonym_list()
S
64 2 10
is_synonym_page()
S
68 2 7
get_synonyms_raw()
S
69 2 7
requirements_status()
S
68 2 7
admin_page()
S
65 1 11
get_action()
S
82 1 3
insert_default_synonym_post()
S
67 1 9
prepare_localized_token()
S
68 1 7
__construct()
S
76 1 4
get_synonym_field()
S
82 1 3
get_nonce_field()
S
82 1 3
get_nonce_action()
S
81 1 3
form_hidden_fields()
S
71 1 6
get_form_action()
S
80 1 3
get_synonym_filter()
S
65 1 10
get_search_feature()
S
76 1 4
get_synonyms()
S
65 1 9
admin_menu()
S
65 1 10
get_synonym_filter_name()
S
79 1 3